package com.bbva.kyfb.kyfbdto.firmas.fachada.v01;

import java.io.Serializable;
import java.util.ArrayList;

import javax.xml.bind.annotation.XmlRootElement;

/**
 * The Class InfoComponentDetail.
 */
@XmlRootElement
public class InfoComponentDetail 
implements Serializable{
	
	/** The Constant serialVersionUID. */
	private static final long serialVersionUID = 1L;
	
	/** The cod error. */
	private String codError;
	
	/** The detalle. */
	private ArrayList<InfoDetailItem> detalle;

	
	/**
	 * Instantiates a new info component detail.
	 */
	public InfoComponentDetail(){
		detalle = new ArrayList<InfoDetailItem>();
	};
	
	/**
	 * Gets the cod error.
	 *
	 * @return the codError
	 */
	public String getCodError() {
		return codError;
	}

	/**
	 * Sets the cod error.
	 *
	 * @param codError the codError to set
	 */
	public void setCodError(String codError) {
		this.codError = codError;
	}

	/**
	 * Gets the detalle.
	 *
	 * @return the detalle
	 */
	public ArrayList<InfoDetailItem> getDetalle() {
		return detalle;
	}

	/**
	 * Sets the detalle.
	 *
	 * @param detalle the detalle to set
	 */
	public void setDetalle(ArrayList<InfoDetailItem> detalle) {
		this.detalle = detalle;
	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	@Override
	public String toString() {
		return "InfoComponentDetail [codError=" + codError + ", detalle="
				+ detalle + "]";
	}	
	
}
